# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'openrebooter.ui'
#
# Created: Tue Sep 30 20:01:18 2008
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(QtCore.QSize(QtCore.QRect(0,0,735,329).size()).expandedTo(MainWindow.minimumSizeHint()))

        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")

        self.widget = QtGui.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(20,10,693,229))
        self.widget.setObjectName("widget")

        self.gridlayout = QtGui.QGridLayout(self.widget)
        self.gridlayout.setObjectName("gridlayout")

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName("gridlayout1")

        self.label_2 = QtGui.QLabel(self.widget)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2,0,0,1,1)

        spacerItem = QtGui.QSpacerItem(21,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem,0,1,1,1)

        self.label = QtGui.QLabel(self.widget)
        self.label.setObjectName("label")
        self.gridlayout1.addWidget(self.label,0,2,1,1)

        self.lcdWaitingNumber = QtGui.QLCDNumber(self.widget)
        self.lcdWaitingNumber.setObjectName("lcdWaitingNumber")
        self.gridlayout1.addWidget(self.lcdWaitingNumber,1,0,1,1)

        spacerItem1 = QtGui.QSpacerItem(21,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1,1,1,1,1)

        self.waitingSpinBox = QtGui.QSpinBox(self.widget)
        self.waitingSpinBox.setObjectName("waitingSpinBox")
        self.gridlayout1.addWidget(self.waitingSpinBox,1,2,1,1)
        self.gridlayout.addLayout(self.gridlayout1,0,0,1,2)

        spacerItem2 = QtGui.QSpacerItem(91,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2,0,2,1,2)

        self.gridlayout2 = QtGui.QGridLayout()
        self.gridlayout2.setObjectName("gridlayout2")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")

        self.lcdnumber = QtGui.QLabel(self.widget)
        self.lcdnumber.setObjectName("lcdnumber")
        self.vboxlayout.addWidget(self.lcdnumber)

        self.lcdNumber = QtGui.QLCDNumber(self.widget)
        self.lcdNumber.setObjectName("lcdNumber")
        self.vboxlayout.addWidget(self.lcdNumber)
        self.gridlayout2.addLayout(self.vboxlayout,0,0,1,2)

        spacerItem3 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout2.addItem(spacerItem3,0,2,1,1)

        self.vboxlayout1 = QtGui.QVBoxLayout()
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.statuslabel = QtGui.QLabel(self.widget)
        self.statuslabel.setObjectName("statuslabel")
        self.vboxlayout1.addWidget(self.statuslabel)

        self.listWidget = QtGui.QListWidget(self.widget)
        self.listWidget.setObjectName("listWidget")
        self.vboxlayout1.addWidget(self.listWidget)
        self.gridlayout2.addLayout(self.vboxlayout1,0,3,2,1)

        spacerItem4 = QtGui.QSpacerItem(20,161,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout2.addItem(spacerItem4,1,0,1,1)

        spacerItem5 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout2.addItem(spacerItem5,1,1,1,2)
        self.gridlayout.addLayout(self.gridlayout2,0,4,5,1)

        spacerItem6 = QtGui.QSpacerItem(20,31,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem6,1,0,1,1)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.sleeplabel = QtGui.QLabel(self.widget)
        self.sleeplabel.setObjectName("sleeplabel")
        self.vboxlayout2.addWidget(self.sleeplabel)

        self.sleepSpinBox = QtGui.QSpinBox(self.widget)
        self.sleepSpinBox.setObjectName("sleepSpinBox")
        self.vboxlayout2.addWidget(self.sleepSpinBox)
        self.hboxlayout.addLayout(self.vboxlayout2)

        spacerItem7 = QtGui.QSpacerItem(21,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem7)

        self.gridlayout3 = QtGui.QGridLayout()
        self.gridlayout3.setObjectName("gridlayout3")

        self.repeatnumber = QtGui.QLabel(self.widget)
        self.repeatnumber.setObjectName("repeatnumber")
        self.gridlayout3.addWidget(self.repeatnumber,0,0,1,1)

        self.repeatSpinBox = QtGui.QSpinBox(self.widget)
        self.repeatSpinBox.setObjectName("repeatSpinBox")
        self.gridlayout3.addWidget(self.repeatSpinBox,1,0,1,1)
        self.hboxlayout.addLayout(self.gridlayout3)
        self.gridlayout.addLayout(self.hboxlayout,2,0,1,3)

        spacerItem8 = QtGui.QSpacerItem(51,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem8,2,3,1,1)

        spacerItem9 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem9,3,0,1,1)

        self.pushButton = QtGui.QPushButton(self.widget)
        self.pushButton.setObjectName("pushButton")
        self.gridlayout.addWidget(self.pushButton,4,0,1,1)

        spacerItem10 = QtGui.QSpacerItem(181,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem10,4,1,1,3)
        MainWindow.setCentralWidget(self.centralwidget)

        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0,0,735,30))
        self.menubar.setObjectName("menubar")

        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")

        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        MainWindow.setMenuBar(self.menubar)

        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName("toolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar)

        self.actionQuit = QtGui.QAction(MainWindow)
        self.actionQuit.setObjectName("actionQuit")

        self.actionAbout = QtGui.QAction(MainWindow)
        self.actionAbout.setObjectName("actionAbout")
        self.menuFile.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionAbout)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.actionQuit,QtCore.SIGNAL("activated()"),MainWindow.close)
        QtCore.QObject.connect(self.sleepSpinBox,QtCore.SIGNAL("valueChanged(int)"),MainWindow.close)
        QtCore.QObject.connect(self.repeatSpinBox,QtCore.SIGNAL("valueChanged(int)"),MainWindow.close)
        QtCore.QObject.connect(self.waitingSpinBox,QtCore.SIGNAL("valueChanged(int)"),MainWindow.close)
        QtCore.QObject.connect(self.pushButton,QtCore.SIGNAL("clicked()"),MainWindow.close)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Open Rebooter", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Left Time", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Waiting Time", None, QtGui.QApplication.UnicodeUTF8))
        self.lcdnumber.setText(QtGui.QApplication.translate("MainWindow", "Repeat Number", None, QtGui.QApplication.UnicodeUTF8))
        self.statuslabel.setText(QtGui.QApplication.translate("MainWindow", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.sleeplabel.setText(QtGui.QApplication.translate("MainWindow", "Sleep Time", None, QtGui.QApplication.UnicodeUTF8))
        self.repeatnumber.setText(QtGui.QApplication.translate("MainWindow", "Number of Repeats  ", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setText(QtGui.QApplication.translate("MainWindow", "Run", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8))
